package com.datang.litejvm.attribute;

/**
 * @author: 顶风少年
 * @Description: 多种attribute的父类
 * @date: 18:28 2022/6/12
 **/
public abstract class AttributeInfo {
    public static final String CODE = "Code";
    public static final String LINE_NUMBER_TABLE = "LineNumberTable";
    public static final String LOCAL_VARIABLE_TABLE = "LocalVariableTable";
    public static final String STACK_MAP_TABLE= "StackMapTable";
    int attrNameIndex;
    int attrLen;
    String attrName;

    public AttributeInfo(int attrNameIndex, String attrName, int attrLen) {
        this.attrNameIndex = attrNameIndex;
        this.attrLen = attrLen;
        this.attrName = attrName;
    }


}
